// app.js
App({
  onLaunch() {
    //全局定时器，用于轮询新消息
    // let timer = setInterval(() => {
    //   let timestamp = Date.parse(new Date());
    //   //TODO   
    // }, 3000)  
    // wx.setTabBarBadge({index: 1, text: '3'});
  },
  
  globalData: {
    apiBaseUrl: 'http://localhost:8024/care-server/api',
    // apiBaseUrl: 'http://129.211.222.131:8024/care-server/api',
    userInfo: null,
    imgSrc: '',
    timerLock:false,//是否关闭合成定时器,
    uuid: 'ac662e57-8542-81cd-4a60-9b5fc4534862'
  },

  
})
